package com.infoauto.opc.gateway.service.impl;

import com.infoauto.opc.gateway.dao.AlsBindingSynthesisDao;
import com.infoauto.opc.gateway.model.AlsBindingSynthesisRecord;
import com.infoauto.opc.gateway.service.AlsBindingSynthesisRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlsBindingSynthesisRecordServiceImpl implements AlsBindingSynthesisRecordService {
    @Autowired
    private AlsBindingSynthesisDao dao;


    @Override
    public int insert(AlsBindingSynthesisRecord alsBindingSynthesisRecord) {
        return dao.insert(alsBindingSynthesisRecord);
    }

    @Override
    public int update(AlsBindingSynthesisRecord alsBindingSynthesisRecord) {
        return dao.update(alsBindingSynthesisRecord);
    }
}
